package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.NewsPlateDao;
import com.cn.wanxi.dao.impl.NewsPlateImpl;
import com.cn.wanxi.model.NewsPlateModel;
import com.cn.wanxi.service.INewsPlateService;

import java.util.List;

public class NewsPlateServiceImpl implements INewsPlateService {
    @Override
    public List<NewsPlateModel> findAll() {
        NewsPlateDao newsPlateDao=new NewsPlateImpl();
        return newsPlateDao.findAll();
    }
}
